From 669baea0fff2fddb62338144ec7bb7564b967159 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 1 Oct 2008 10:43:02 +0000 Subject: [PATCH] Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers. 2008-10-01 Tor Lillqvist * io-icns.c: Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers. svn path=/trunk/; revision=21555 --- gdk-pixbuf/ChangeLog | 5 +++++ gdk-pixbuf/io-icns.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index fe218bf80a..650ca00d41 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,8 @@ +2008-10-01 Tor Lillqvist + + * io-icns.c: Don't #define _GNU_SOURCE on Windows as it confuses + newest mingw headers. + 2008-09-23 13:28:23 Tim Janik * gdk-pixdata.c: prevent RLE encoding of 1x1 pixel images, since the diff --git a/gdk-pixbuf/io-icns.c b/gdk-pixbuf/io-icns.c index 295e438f65..eee7dcc849 100644 --- a/gdk-pixbuf/io-icns.c +++ b/gdk-pixbuf/io-icns.c @@ -19,7 +19,9 @@ * Boston, MA 02111-1307, USA. */ +#ifndef _WIN32 #define _GNU_SOURCE +#endif #include #include #include -- 2.30.2